<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<%@page import="com.asaga.tools.*, java.util.*, java.io.*, java.net.*"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/sql" prefix="sql" %>
<jsp:useBean id="event" scope="session" class="com.asaga.tools.Event_DBImpl" />
<jsp:useBean id="userProfile" scope="session" class="com.asaga.tools.SystemClient_DBImpl" />
<jsp:useBean id="fontBean" scope="session" class="com.asaga.tools.FontBean" />
<jsp:setProperty name="fontBean" property="*" />
<% 
    String message = (String)request.getParameter("message"); 
    if(message==null){
        message="";
    }
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">
<html>
    <%@ include file="header.jsp" %>
    <body onload="ajaxFunction();">
        <div id="container">
        <%@ include file="topNav.jsp" %>
        <%@ include file="leftside.jsp" %>
        <%@ include file="rightside.jsp" %>
            <div id="content" >
                <!-- Error message -->
                <font style="color: red;"><%=message%></font>
                <!-- Login form -->
                <center>
                    <br />
                    <form action="AutismSiteMasterController" method="post">
                        <p>
                            <input type="text" id="username" name="username" />&nbsp;<a href="#">Forgot username</a><br />
                            <input type="password" id="password" name="password" />&nbsp;<a href="#">Forgot password</a><br />
                            <input type="hidden" id="action" name="action" value="login" />
                            <input type="submit" value="Login" />
                            <br /><br /><br />
                            Need a login? <a href="register.jsp">Register here!</a>
                        </p>
                    </form>    
                </center>
            </div>
            <%@ include file="footer.html" %>
        </div>
    </body>
</html>
